package cn.stylefeng.guns.modular.car.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 车辆信息
 * </p>
 *
 * @author
 * @since 2020-05-10
 */
@TableName("thesis_car")
@Data
public class Car implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "seq_id", type = IdType.AUTO)
    private Integer seqId;

    /**
     * 牌照
     */
    @TableField("no")
    private String no;

    /**
     * open_id
     */
    @TableField("open_id")
    private String openId;
    @TableField("select_default")
    private String selectDefault;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    public Integer getSeqId() {
        return seqId;
    }

    public void setSeqId(Integer seqId) {
        this.seqId = seqId;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Car{" +
                "seqId=" + seqId +
                ", no=" + no +
                ", openId=" + openId +
                ", createTime=" + createTime +
                "}";
    }
}
